package com.zzjson.provider;

import com.zzjson.api.IHelloService;
import com.zzjson.api.User;

/**
 * <p>****************************************************************************</p>
 * <p><b>Copyright © 2010-2020 shuncom team All Rights Reserved<b></p>
 * <ul style="margin:15px;">
 * <li>Description : com.zzjson.api</li>
 * <li>Version     : 1.0.0</li>
 * <li>Creation    : 2020年02月23日</li>
 * <li>@author     : zzy0_0</li>
 * </ul>
 * <p>****************************************************************************</p>
 */
@RpcService(value = IHelloService.class, version = "v1.0")
public class IHelloServiceImpl implements IHelloService {
	@Override
	public String sayHello(String content) {
		System.out.println("【V1.0】request in sayHello:" + content);
		return "【V1.0】Say Hello:" + content;
	}

	@Override
	public String saveUser(User user) {
		System.out.println("【V1.0】request in saveUser:" + user);
		return "【V1.0】SUCCESS";
	}
}
